package com.xxx.mapper;

import com.xxx.domain.PayOrder;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author jh
 * @since 2025-09-11
 */
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    /**
     * 根据订单编号修改支付单状态
     *
     * @param outTradeNo
     * @param now
     * @param payStatus
     */
    void updateStatusByOrderNo(@Param("outTradeNo") String outTradeNo, @Param("now") Date now,
                               @Param("payStatus") Integer payStatus);
}
